package com.scaffold.common.mapper;

import com.scaffold.common.entry.ScRole;
import com.scaffold.common.entry.ScRoleExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ScRoleMapper {
    long countByExample(ScRoleExample example);

    int deleteByExample(ScRoleExample example);

    int deleteByPrimaryKey(String id);

    int insert(ScRole record);

    int insertSelective(ScRole record);

    List<ScRole> selectByExample(ScRoleExample example);

    ScRole selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ScRole record, @Param("example") ScRoleExample example);

    int updateByExample(@Param("record") ScRole record, @Param("example") ScRoleExample example);

    int updateByPrimaryKeySelective(ScRole record);

    int updateByPrimaryKey(ScRole record);
}